package com.atguigu.com.miaosha.feign;

/**
 * @author 满超
 * @date 2020/07/03
 **/

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Component
@FeignClient(value = "gulimall-coupon",fallback = Couponimpl.class)
public interface CouponFeign {

    @RequestMapping("/coupon/seckillsession/info/{id}")
    R info(@PathVariable("id") Long id);

}
